Developer --> Technical Publications
PATHMac OS 8 Developer Documentation > Files > Navigation Services >

Programming With Navigation Services 1.1


File Sorting Constants

Your application can determine the sort key for displayed files by passing the kNavCtlSortBy constant, described in Custom Control Setting Constants , in the selector parameter of the function NavCustomControl , and passing one of the constants defined in the NavSortKeyField data type in the parms parameter of the NavCustomControl function.

enum {
    kNavSortNameField = 0,
    kNavSortDateField = 1
};
typedef UInt16  NavSortKeyField;

Constant descriptions

kNavSortNameField
Sort by filename.
kNavSortDateField
Sort by modification date.

© 1998 Apple Computer, Inc. – (Last Updated 23 Nov 98)

Previous | Back Up One Level | Next |